package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.OrdersDto;
import com.itheima.entity.Orders;

public interface OrdersService extends IService<Orders> {

    Page<OrdersDto> pageWithDetail(Integer page, Integer pageSize);

    boolean submit(Orders orders,Long userId);
}
